package be.tf.freemaind.dao;

import java.sql.SQLException;
import java.util.List;

import java.sql.Statement;
//import com.mysql.jdbc.Statement;

public abstract class Dao<O> {
protected Statement stm;

public Dao(Statement stm) {
	this.stm = stm;
}
public abstract List<O> findAll() throws SQLException;
// TO DO : type int id must be changed to type long
public abstract O find(int id) throws SQLException;

}
